home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / COMAL / T-COMAL Today / (k)t2.d64 / page 15 sample.l < prev    next >
Text File  |  2007-02-28  |  174b  |  11 lines

  1. 0010 PRINT "TYPE A KEY"
  2. 0020 WHILE WAIT DO NULL
  3. 0030 //
  4. 0040 FUNC WAIT 
  5. 0050 IF KEY$=CHR$(0) THEN
  6. 0060 RETURN TRUE
  7. 0070 ELSE 
  8. 0080 RETURN FALSE
  9. 0090 ENDIF 
  10. 0100 ENDFUNC WAIT
  11.